package com.bwie.service;

import com.bwie.pojo.TbPolicy;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.Result;
import com.bwie.vo.PacketVo;
import com.bwie.vo.RecordPageVo;
import com.bwie.vo.RedInfoVo;
import com.bwie.vo.TimeInfoVo;

/**
* @author 28242
* @description 针对表【tb_policy(红包策略表)】的数据库操作Service
* @createDate 2025-06-07 11:00:06
*/
public interface TbPolicyService extends IService<TbPolicy> {

    Result getPacketList(PacketVo pageInfoVo);

    Result getDictList(Integer typeId);

    void getExcele(Integer userId);

    Result addPolicy(TbPolicy tbPolicy);

    Result grabRedPacket(Integer id);

    Result getRecordList(RecordPageVo recordPageVo);

    Result getEndTime(TimeInfoVo timeInfoVo);

    Result getRedRecordInfo(RedInfoVo redInfoVo);
}
